package com.dinpay.plugin.activity;

import android.os.Handler;
import com.dinpay.plugin.d.c;
import com.dinpay.plugin.d.d;
import com.dinpay.plugin.d.f;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Map;

final class s
  implements Runnable
{
  s(DinpayPayActivity paramDinpayPayActivity)
  {
  }

  public final void run()
  {
    while (true)
    {
      HashMap localHashMap;
      try
      {
        localHashMap = new HashMap();
        localHashMap.put("service_type", "mobile_pay_plus");
        localHashMap.put("interface_version", "V3.0");
        if (DinpayPayActivity.h(this.a) == true)
        {
          localHashMap.put("signature", this.a.a(DinpayPayActivity.R(this.a)));
          InputStream localInputStream = d.a(c.d, localHashMap, "utf-8");
          if (localInputStream == null)
            break;
          DinpayPayActivity.a(this.a, f.d(localInputStream));
          DinpayPayActivity.Q(this.a).sendEmptyMessage(100);
          return;
        }
        if ((!DinpayPayActivity.h(this.a)) && (DinpayPayActivity.S(this.a).equals("信用卡")))
        {
          localHashMap.put("signature", this.a.a(DinpayPayActivity.T(this.a)));
          continue;
        }
      }
      catch (Exception localException)
      {
        localException.printStackTrace();
        DinpayPayActivity.Q(this.a).sendEmptyMessage(101);
        return;
      }
      localHashMap.put("signature", this.a.a(DinpayPayActivity.U(this.a)));
    }
    DinpayPayActivity.Q(this.a).sendEmptyMessage(101);
  }
}

/* Location:           C:\Users\user\Desktop\dd28_pcdd720\classes_dex2jar.jar
 * Qualified Name:     com.dinpay.plugin.activity.s
 * JD-Core Version:    0.6.2
 */